<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>导航条与图片</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <nav>
        <ul>
            <li><a href="#">首页</a></li>
            <li><a href="#">关于我们</a></li>
            <li><a href="#">服务</a></li>
            <li><a href="#">联系我们</a></li>
        </ul>
    </nav>
    <div class="image-container">
        <button id="hideButton">隐藏图片</button>
        <img id="autoHideImage" src="banner.jpg" alt="自动隐藏图片">
    </div>
    <script src="script.js"></script>
</body>
</html>